* (bug 13725) Upload form watch checkbox state set correctly with wpDestFile
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 15 Apr 2008 19:02:12 +0000 (19:02 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 15 Apr 2008 19:02:12 +0000 (19:02 +0000)
commit57c6273b8c7324153ff9b16488974385b6cab8c0
tree51f056cd716c4d0efc9d3adfb076271be0b49e97
parent90fae9fb00fda776898c0346529fd365792775ba
* (bug 13725) Upload form watch checkbox state set correctly with wpDestFile

r33330 just disabled the check for wpDestFile, so that the 'watch pages i create'
setting would watch *all* uploads. The system now checks the actual value, so
it sets the watch checkbox if the requested file doesn't exist locally and you
have it set for creations, or if you've already got the file watched.

There are still some minor issues:
* Since you have the chance to change the target filename on the form, the
  initial checkbox state can get out of sync if you switch from an empty file
  to an existing file or vice-versa.
* Unlike the edit form, the upload form doesn't _unwatch_ a previously-watched
  page when the box is unchecked.
RELEASE-NOTES
includes/SpecialUpload.php